import request from "@/utils/request";

//  查询机台
export function getMachineType(data) {
  return request({
    url: "/machine/getMachineType",
    method: "post",
    data,
  });
}

//  列表
export function machineRelevanceList(data) {
  return request({
    url: "/MachineRelevance/list",
    method: "post",
    data,
  });
}
//  add
export function addMachineRelevance(data) {
  return request({
    url: "/MachineRelevance/add",
    method: "post",
    data,
  });
}
//  add
export function updateMachineRelevance(data) {
  return request({
    url: "/MachineRelevance/update",
    method: "post",
    data,
  });
}
//  del
export function delMachineRelevance(data) {
  return request({
    url: "/MachineRelevance/deleteById",
    method: "post",
    data,
  });
}